<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
	<link rel="stylesheet" type="text/css" href="../../lib/bootstrap/dist/css/bootstrap.css">
	<link rel="stylesheet" type="text/css" href="../../css/common.css">
	<link rel="stylesheet" type="text/css" href="../../css/product/mortgate.css">
	<title><%=title%></title>
</head>
<body>
<div class="container" ng-app="webapp" ng-controller="MonthlyController">
	<input type='hidden' ng-model="menuId" value="<%=menuId%>" id="menuId">
	<div ng-include="'../../views/header.html'"></div>
	<div class='row mortgateTool' ng-show="boxSta">
		<span class='col-xs-6' ng-click="scrToogle(0)" ng-if="roleOperateType.r0==0"><i class="glyphicon glyphicon-plus"></i><em class="toolLabel">新增产品</em><i class='glyphicon glyphicon-chevron-{{addProIcon}} addIcon'></i></span>
		<span class='col-xs-6' ng-click="scrToogle(2)"><i class="glyphicon glyphicon-search"></i><em class="toolLabel">条件筛选</em><i class='glyphicon glyphicon-chevron-{{queryProIcon}} queryIcon'></i></span>
	</div>
	<div class='mainWarpper' ng-style="warpperStyle">
		<mortgate-edit type="1" ng-model="nullModel" operateType="{{operateType}}" ng-interest="dataObject.interest" ng-loanCharge="dataObject.loanCharge" ng-credit="dataObject.credit" ng-datum="dataObject.datum" ng-debtAsk="dataObject.debtAsk"  ng-lendingAsk="dataObject.lendingAsk" ng-show="scrSta"></mortgate-edit>
		<div ng-if="result.length <= 0" class="noResult">
			未查询到相关产品哦！
		</div>
		<div class='mortage-box' ng-show="boxSta" ng-repeat="list in result">
			<remove-box ng-model="list" ng-if="roleOperateType.r1==1"></remove-box>
			<edit-box ng-model="list" ng-if="roleOperateType.r2==2"></edit-box>
			<toogle-click ng-model="list" tcs="arrowTip-down"></toogle-click>
			<p class='lineData row clearfix'>
				<span class='col-xs-4 backName' ng-bind="list.PRODUCT_NAME"></span>
				<span class='col-xs-4'>
					<em class='label label-danger'>{{list.POINTS}}个点接单</em>
				</span>
				<span class='col-xs-4'>
					<view-size classname="interest" min="{{list.MIN_INTEREST}}" max="{{list.MAX_INTEREST}}" unit="厘"></view-size>
				</span>
			</p>
			<p class='lineData row clearfix'>
				<span class='col-xs-7'><em class='explan'>年龄：</em>
				<view-size classname="c-gray" min="{{list.MIN_AGE}}" max="{{list.MAX_AGE}}" unit="岁"></view-size>
				</span></span>
				<span class='col-xs-5'><em class='explan'>期限：</em>
				<view-size classname="c-gray" min="{{list.MIN_REPLY_TIME}}" max="{{list.MAX_REPLY_TIME}}" unit="年"></view-size>
				</span></span>
			</p>
			<p class='lineData row clearfix'>
				<span class='col-xs-7'><em class='explan'>额度：</em>
				<view-size classname="c-gray" min="{{list.MIN_LIMIT}}" max="{{list.MAX_LIMIT}}" unit="万"></view-size>
				</span></span>
				<span class='col-xs-5'><em class='explan'>下款时间：</em>
				<view-size classname="c-gray" min="{{list.MIN_LOAN_TIME}}" max="{{list.MAX_LOAN_TIME}}" unit="日"></view-size>
				</span></span>
				
			</p>
			<p class='lineData row clearfix'>
				<span class='col-xs-12'><em class='explan'>倍数：</em><mortgate-box ng-model="list.MULTIPLE" way="multiple"></mortgate-box></span>
			</p>
			<p class='lineData row clearfix'>
				<span class='col-xs-12'><em class='explan'>进件条件：</em><mortgate-box ng-model="list.TERM" way="lendingAsk"></mortgate-box></span>
			</p>
			
			<div class='toogle none'>
				<p class='lineData row clearfix'>
					<span class='col-xs-12'><em class='explan'>提前罚息：</em><mortgate-box ng-model="list.INTEREST" way="interest"></mortgate-box></span>
				</p>
				<p class='lineData row clearfix'>
					<span class='col-xs-12'><em class='explan'>信用要求：</em><mortgate-box ng-model="list.CREDIT_ASK_ID" way="credit"></mortgate-box></span>
				</p>
				<p class='lineData row clearfix'>
					<span class='col-xs-12'><em class='explan'>查询次数：</em><mortgate-box ng-model="list.QUERY_NUM" way="queryNum"></mortgate-box></span>
				</p>
				<p class='lineData row clearfix'>
					<span class='col-xs-12'><em class='explan'>放款手续：</em><mortgate-box ng-model="list.LOAN_CHARGE_ID" way="loanCharge"></mortgate-box></span>
				</p>
				<p class='lineData row clearfix'>
					<span class='col-xs-12'><em class='explan'>资料：</em><mortgate-box ng-model="list.DATUM_ID" way="datum"></mortgate-box></span>
				</p>
				<p class='lineData row clearfix'>
					<span class='col-xs-12'><em class='explan'>负债要求：</em><mortgate-box ng-model="list.DEBT_ASK_ID" way="debtAsk"></mortgate-box></span>
				</p>
				<p class='lineData row clearfix'>
					<span class='col-xs-12'><em class='explan'>备注：</em>
					<view-mono values="{{list.REMARK}}" unit="" classname="c-gray"></view-mono>
					</span>
				</p>
			</div>
		</div>
	</div>

	<!-- Modal -->
	<div class="modal fade bs-example-modal-sm" id="deleteModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
	  <div class="modal-dialog modal-sm-samll" role="document">
	    <div class="modal-content">
	      <div class="modal-header">
	        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
	        <h4 class="modal-title" id="myModalLabel">&nbsp;</h4>
	      </div>
	      <div class="modal-body">
	        您确定要删除本产品吗？
	      </div>
	      <div class="modal-footer">
	        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
	        <button type="button" class="btn btn-primary" id="sureDel">确定</button>
	      </div>
	    </div>
	  </div>
	</div>
</div>
<script type="text/javascript" src="../../lib/angular/angular.js"></script>
<script type="text/javascript" src="../../lib/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="../../lib/bootstrap/dist/js/bootstrap.js"></script>
<script type="text/javascript" src="../../webapp.js"></script>
<script type="text/javascript" src="../../services/handleRequest.js"></script>
<script type="text/javascript" src="../../services/monthly.client.service.js"></script>
<script type="text/javascript" src="../../controllers/monthly.client.controller.js"></script>
</body>
</html>